﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UserMasterPage.master" AutoEventWireup="true" CodeFile="ViewAlbum.aspx.cs" Inherits="ViewAlbum" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <br />
    <br />
    <br />
    <br />
    Choose Resolution for your Image
    <asp:DropDownList ID="dropDownListRes" runat="server" Width="150px">
    </asp:DropDownList>
    <br />
    <br />
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
    BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" 
    CellPadding="10" CellSpacing="10" EnableModelValidation="True" Height="176px" 
    Width="460px" AllowPaging="True" CaptionAlign="Top" 
        onrowcommand="GridView1_RowCommand" PageSize="5" 
        onselectedindexchanged="GridView1_SelectedIndexChanged">
    <Columns>
        <asp:BoundField DataField="ImageID" HeaderText="ID" />
        <asp:ImageField DataImageUrlField="ImageUrl" HeaderText="Your Image">
            <ControlStyle Height="100px" Width="150px" />
        </asp:ImageField>
        <asp:CommandField SelectText="Add To Cart" ShowSelectButton="True" />
    </Columns>
    <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
    <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
    <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
    <RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
    <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
</asp:GridView>
    <br />
    <br />
    <asp:Label ID="lblStatus1" runat="server" 
        Text="You don't have any image...Click here to" Visible="False"></asp:Label>
    <asp:HyperLink ID="hylblStatus" runat="server" NavigateUrl="~/Upload.aspx" 
        Visible="False" Width="38px">Upload</asp:HyperLink>
    <asp:Label ID="lblStatus2" runat="server" Text="your Image" Visible="False"></asp:Label>
    <asp:Label ID="lblStatus3" runat="server"></asp:Label>
</asp:Content>

